package com.ruoyi.airsystem.service;

import java.util.List;
import com.ruoyi.airsystem.domain.AirPmlevels;

/**
 * PM浓度记录Service接口
 *
 * @author ruoyi
 * @date 2025-04-18
 */
public interface IAirPmlevelsService
{
    /**
     * 查询PM浓度记录
     *
     * @param recordId PM浓度记录主键
     * @return PM浓度记录
     */
    public AirPmlevels selectAirPmlevelsByRecordId(Long recordId);

    /**
     * 查询PM浓度记录列表
     *
     * @param airPmlevels PM浓度记录
     * @return PM浓度记录集合
     */
    public List<AirPmlevels> selectAirPmlevelsList(AirPmlevels airPmlevels);

    /**
     * 新增PM浓度记录
     *
     * @param airPmlevels PM浓度记录
     * @return 结果
     */
    public int insertAirPmlevels(AirPmlevels airPmlevels);

    /**
     * 修改PM浓度记录
     *
     * @param airPmlevels PM浓度记录
     * @return 结果
     */
    public int updateAirPmlevels(AirPmlevels airPmlevels);

    /**
     * 批量删除PM浓度记录
     *
     * @param recordIds 需要删除的PM浓度记录主键集合
     * @return 结果
     */
    public int deleteAirPmlevelsByRecordIds(Long[] recordIds);

    /**
     * 删除PM浓度记录信息
     *
     * @param recordId PM浓度记录主键
     * @return 结果
     */
    public int deleteAirPmlevelsByRecordId(Long recordId);

    public void checkAndInsertWarning(AirPmlevels airPmlevels);
}
